package com.yan.service.impl;

import com.yan.beans.BannerInfo;
import com.yan.mapper.BannerInfoMapper;
import com.yan.service.BannerInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Administrator on 2019/12/13 0013.
 */
@Service
public class BannerInfoServiceImpl implements BannerInfoService {
    @Resource
    private BannerInfoMapper bannerInfoMapper;
    @Override
    public List<BannerInfo> getInfo() {
        return bannerInfoMapper.getInfo();
    }
}
